projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81eafe2
)
* alloc.c (Fmake_string): Check for out-of-range init.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 7 Jun 2011 05:32:27 +0000
(22:32 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 7 Jun 2011 05:32:27 +0000
(22:32 -0700)
src/ChangeLog
patch
|
blob
|
history
src/alloc.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 87259a083aee983a63fa28054fa1ad6165d65189..6d163f56c1e2340eb2a649130d6ebee6b47829eb 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2011-06-07 Paul Eggert <eggert@cs.ucla.edu>
+
+ * alloc.c (Fmake_string): Check for out-of-range init.
+
2011-06-07 Daniel Colascione <dan.colascione@gmail.com>
* fns.c (Fputhash): Document return value.
diff --git
a/src/alloc.c
b/src/alloc.c
index cfbb79b2e6183ff0b1d48e693eb2641425a58596..db1744bc7ccd18c5255a4ba2e02ed7d0defd728d 100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-2186,9
+2186,9
@@
INIT must be an integer that represents a character. */)
EMACS_INT nbytes;
CHECK_NATNUM (length);
- CHECK_
NUMB
ER (init);
+ CHECK_
CHARACT
ER (init);
- c = XINT (init);
+ c = X
FAST
INT (init);
if (ASCII_CHAR_P (c))
{
nbytes = XINT (length);